import request from "@/utils/request";

export function getData(params) {
  return request({
    url: `/interaction/face`,
    method: "get",
    params
  });
}
export function getNobilityData() {
  return request({
    url: `/nobility/list`,
    method: "post"
  });
}

export function postData(data) {
  return request({
    url: `/interaction/face`,
    method: "post",
    data
  });
}

export function putEditData(data) {
  return request({
    url: `/interaction/face`,
    method: "put",
    data
  });
}

export function putData(id) {
  return request({
    url: `/interaction/face/status`,
    method: "put",
    data: { id }
  });
}
export function deleteData(ids) {
  return request({
    url: `/interaction/face`,
    method: "delete",
    data: { ids }
  });
}
